package com.github.yeecode.mybatisdemo.model;

public class User extends Model {
    private Integer id;
    private String name;
    private String email;
    private Integer age;
    private Integer sex;
    private String schoolName;


    public User() {


        this.setId(123423);
        this.setSchoolName("花店");
        this.setAge(22);
        this.setSex(1);
        this.setEmail("12345@qq.com");
        this.setName("kia");

    }


    public User(String name, String schoolName, String email, Integer id, Integer age, Integer sex) {
        this.name = name;
        this.email = email;
        this.schoolName = schoolName;
        this.id = id;
        this.age = age;
        this.sex = sex;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", email='" + email + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", schoolName='" + schoolName + '\'' +
                '}';
    }


    public static void main(String[] args){
        User user = new User();

    }



    public    void   print( ){


        while (true){
            int i =1 ;
            System.out.println( i++ );
        }
    }


}
